[SPARK-49459][CORE][SHUFFLE] Support CRC32C for Shuffle Checksum#47929
Closed
yaooqinn wants to merge 4 commits intoapache:masterfrom
Closed
[SPARK-49459][CORE][SHUFFLE] Support CRC32C for Shuffle Checksum#47929yaooqinn wants to merge 4 commits intoapache:masterfrom
CRC32C for Shuffle Checksum#47929yaooqinn wants to merge 4 commits intoapache:masterfrom
Conversation
Member
Author
|
cc @Ngone51 @dongjoon-hyun @cloud-fan thank you |
CRC32C for Shuffle Checksum
dongjoon-hyun
approved these changes
Aug 30, 2024
Member
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM. Thank you, @yaooqinn . This looks like a good addition for Apache Spark 4.0.0.
Merged to master.
Member
Author
|
Thank you @dongjoon-hyun |
dongjoon-hyun
added a commit
that referenced
this pull request
Jan 21, 2025
### What changes were proposed in this pull request? This PR aims to add `CRC32C` test cases. ### Why are the changes needed? Apache Spark supports `CRC32C`. We had better add more test coverage like `CRC32`. - #47929 ### Does this PR introduce _any_ user-facing change? No. This is a test case addition. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #49582 from dongjoon-hyun/SPARK-50902. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun
added a commit
that referenced
this pull request
Jan 21, 2025
### What changes were proposed in this pull request? This PR aims to add `CRC32C` test cases. ### Why are the changes needed? Apache Spark supports `CRC32C`. We had better add more test coverage like `CRC32`. - #47929 ### Does this PR introduce _any_ user-facing change? No. This is a test case addition. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #49582 from dongjoon-hyun/SPARK-50902. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 98f2767) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
zifeif2
pushed a commit
to zifeif2/spark
that referenced
this pull request
Nov 14, 2025
### What changes were proposed in this pull request? This PR aims to add `CRC32C` test cases. ### Why are the changes needed? Apache Spark supports `CRC32C`. We had better add more test coverage like `CRC32`. - apache#47929 ### Does this PR introduce _any_ user-facing change? No. This is a test case addition. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#49582 from dongjoon-hyun/SPARK-50902. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 2233537) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR adds (java.util.zip.)CRC32C to
spark.shuffle.checksum.algorithm. CRC32C has been supported by JDK since 9.Why are the changes needed?
CRC32C performs better on some SIMD CPU instruction sets
Does this PR introduce any user-facing change?
Yes, spark.shuffle.checksum.algorithm can be set to CRC32C.
How was this patch tested?
I tested this via benchmark
On GitHub Action Runner, CRC32C is the best
On my MAC M2, Adler32 is fastest
Was this patch authored or co-authored using generative AI tooling?
no